import i18n from '../../i18n/i18n'
export const tableOption = {
  border: true,
  index: false,
  indexLabel: i18n.t('publics.serial'),
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  column: [
    {
      label: i18n.t('coupon.shopName'),
      prop: 'shopName',
      searchLabelWidth: i18n.t('language') === 'language' ? 120 : 80,
      search: true
    },
    {
      label: i18n.t('seckill.activityName'),
      prop: 'activityName',
      searchLabelWidth: i18n.t('language') === 'language' ? 120 : 80,
      search: true
    },
    {
      label: i18n.t('product.status'),
      prop: 'status',
      search: true,
      slot: true,
      type: 'select',
      dicData: [
        {
          label: i18n.t('groups.expired'),
          value: 0
        }, {
          label: i18n.t('groups.startUsing'),
          value: 1
        }, {
          label: i18n.t('groups.notEnabled'),
          value: 2
        }, {
          label: i18n.t('groups.offlineViolation'),
          value: 3
        }, {
          label: i18n.t('groups.moderated'),
          value: 4
        }, {
          label: i18n.t('groups.over'),
          value: 5
        }
      ]
    },
    {
      label: i18n.t('groups.groupType'),
      prop: 'groupNumber',
      slot: true
    },
    {
      label: i18n.t('groups.groupOrderCount'),
      prop: 'groupOrderCount'
    },
    {
      label: i18n.t('groups.activityStartTime'),
      prop: 'startTime'
    },
    {
      label: i18n.t('groups.eventEndTime'),
      prop: 'endTime'
    }
    // {
    //   label: i18n.t('groups.actStatus'),
    //   prop: 'activityStatus',
    //   slot: true
    // }
  ]
}
